package com.example.service.shiro;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.bean.shiro.SysUserEntity;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author 李宇航
 * @since 2020-06-02
 */
public interface SysUserService extends IService<SysUserEntity> {
    Set<String> getUserRolesSet(String username);

    List<String> getUserPermissionsSet(String username);

    SysUserEntity getUserByName(String userName);
}
